package com.thunisoft.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.thunisoft.service.HiFeginService;

@RestController
public class FeginController {
	@Autowired
	HiFeginService hiFeginService;

	@RequestMapping("/hiFegin")
	public String index(String name) {
		System.out.println("=====name====" + name);
		return "fegin====" + hiFeginService.getHiByFegin(name);
	}

}
